package com.enba.rbacadmin.module.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.enba.rbacadmin.module.auth.bo.UserRoleBo;
import com.enba.rbacadmin.module.auth.entity.User;
import java.util.Set;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户表 Mapper 接口
 *
 * @author 恩爸编程
 * @since 2025-02-28
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

  String getMaxCode();

  // 获取用户角色信息
  Set<UserRoleBo> getRoleName(@Param("userIdSet") Set<Long> userIdSet);
}
